package com.bytefy.server.sandbox;


public class UserDB extends DatabaseClient{
	private String user;
	public UserDB(String user) {
		this.user = user;
	}
	
	@Override
	public void put(String key, Object value) {
		super.put(getKey(key), value);
	}
	
	private String getKey(Object key) {
		return "/"+user+"/"+key;
	}

	@Override
	public String get(String key) {
		return super.get(getKey(key));
	}
}
